package com.socialcoco.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵志浩
 * @since 2022-03-17 09:16:50
 */
@Data
@TableName("diary_image")
@ApiModel(value = "DiaryImage对象", description = "")
public class DiaryImage implements Serializable {

    @ApiModelProperty("图片id")
    @TableId(value = "iid", type = IdType.AUTO)
    private Integer iid;

    @ApiModelProperty("图片对应的动态id")
    @TableField("did")
    private Integer did;

    @ApiModelProperty("图片地址")
    @TableField("image")
    private String image;

    @ApiModelProperty("0表示图片1表示mp4")
    @TableField("types")
    private String types;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
